﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="AddClass.aspx.cs" Inherits="LabMS.Web.BaseData.AddClass" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>基本数据 - 学生管理 - 班级数据 - 添加班级</title>
    <link type="text/css" rel="stylesheet" href="../style/screen.css" />
    <!--[if lte IE 6]>
    <link type="text/css" rel="stylesheet" href="../style/ie6.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" href="../style/ie7.css" />
    <![endif]-->

    <script type="text/javascript">
        function OpenEditWin(frmWin,width,height) 
      {       
           var me; 
           me = window;  
           var ret = window.showModalDialog(frmWin,me,'dialogWidth='+width +'px;dialogHeight='+height+'px;help:no;status:no');
           if (ret != null) 
           { 
              document.getElementById('tb').value=ret[0];   
              document.getElementById("tbClassMajor").value = ret[1];
           }  
      }
    
    </script>

</head>
<body class="mainBody">
    <form id="uiForm" runat="server">
        <div class="main">
            <div id="pageInfo" class="clearfix">
                <div class="title">
                    <label>
                        <a href="ClassData.aspx">班级数据</a>
                    </label>
                    &gt;
                    <label>
                        添加班级</label>
                </div>
            </div>
        </div>
        <div id="ui">
            <p>
                <span>班 &nbsp;&nbsp; 号</span><asp:TextBox ID="tbClassNumber" runat="server" ToolTip="班级代号"></asp:TextBox><font
                    color="red">*</font>
            </p>
            <p>
                <span>班级名称</span><asp:TextBox ID="tbClassName" runat="server" ToolTip="班级名称"></asp:TextBox>
            </p>
            <p>
                <span>年 &nbsp; 级</span>
                <asp:DropDownList ID="ddlClass" runat="server">
                </asp:DropDownList>
            </p>
            <p>
                <span>班级人数</span><asp:TextBox ID="tbNum" runat="server"></asp:TextBox>
            </p>
            <p>
                <span>所属专业</span><asp:TextBox ID="tbClassMajor" runat="server"></asp:TextBox>
                <input type="button" value="..." class="button" onclick="OpenEditWin('AddClassChooseMajor.aspx',500,300)" />
                <font color="red">*</font>
                <asp:TextBox ID="tb" runat="server"></asp:TextBox>
            </p>
            <p>
                <span></span>
                <asp:Button ID="Save" runat="server" Text="保存" OnClick="Save_Click" CssClass="button" />
                <input type="button" id="btnCancle" value="返回" class="button" onclick="window.location.href='ClassData.aspx';" />
            </p>
        </div>
    </form>

    <script type="text/javascript" src="../js/jQuery/jquery-1.3.1.js"></script>

    <script type="text/javascript" src="../js/jQuery/jquery.tooltip.js"></script>

    <script type="text/javascript" src="../js/jQuery/jquery.validate.js"></script>

    <script type="text/javascript" src="../js/site.js"></script>

</body>
</html>
